package lol.clann.bukkit.pluginboot.version;

import lol.clann.clannboot.util.clazz.MapperManager;

/**
 * @author pyz
 * @date 2018/10/7 上午11:00
 */
public class DefaultMappingSetup {

    public static void setup() {
        // 设置转换器
        MapperManager.setClassMapper(dev -> {
            return dev.replace("{nms}", VersionSetup.getNMSPrefix())
                    .replace("{cb}", VersionSetup.getCBPrefix())
                    .replace("{nm}","net.minecraft");
        });
    }

}
